/*************************************************************************
	> File Name: ../common/reactor.h
	> Author: Maureen 
	> Mail: 1437867946@qq.com 
	> Created Time: Tue 12 Jan 2021 09:47:54 PM CST
 ************************************************************************/

#ifndef _REACTOR_H
#define _REACTOR_H

int add_to_reactor(int subfd, struct User *user);
void *handle_sub_reactor(void *arg);
void delete_from_reactor(int fd);
#endif
